package com.feicheng.persistence.mapper;

import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.feicheng.persistence.entity.Aclientbm;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 客户报名 Mapper 接口
 * </p>
 *
 * @author cailongyang
 * @since 2025-04-02
 */
public interface AclientbmMapper extends BaseMapper<Aclientbm> {
    List<JSONObject> getBmWithKcitem(@Param(Constants.WRAPPER) Wrapper wrapper);

    IPage<JSONObject> getBmWithJlKcByPage(IPage page, @Param(Constants.WRAPPER) Wrapper wrapper);

    List<JSONObject> getBmWithJlKcByList(@Param(Constants.WRAPPER) Wrapper wrapper);

    /* jinjingyi start*/
    JSONObject getBmPriceGroupByStu();

    Page<JSONObject> getBmPriceGroupByJiaolianAndStu(Page<JSONObject> page, @Param(Constants.WRAPPER) Wrapper wrapper);
    /* jinjingyi end*/
}
